< previous page page_541 next page >

Page 541
Adding an Index to the Table
In the Table Structure dialog box, you also can add, modify, or remove indexes in the table. Any indexes currently in the table appear in the Index List at the bottom of the dialog box, as shown in Figure 24.14.
0541-01.jpg
Figure 24.14
You can add, edit or delete indexes for a
table from the Table Structure dialog box.
To add a new index, click the Add Index button; the Add Index dialog box then appears, as shown in Figure 24.15. In this dialog box, first enter an index name. Next, select the fields to be included in the index by clicking the fields in the Available Fields list. As you select each field, it is added to the Indexed Fields list in the order in which it was selected. By default, all fields are indexed in ascending order. To change the order to descending, precede the field name in the Indexed Fields list with a minus sign ().
0541-02.jpg
Figure 24.15
The Add Index dialog box provides a visual
means of creating the indexes for a table.
After you define the fields for the index, you can choose to require the index to be unique or to be the primary index (assuming that you do not already have a primary index) by selecting the appropriate check box in the window. When the index is completed to your liking, save it by clicking OK. The index you have just created is added to the index list on the Table Structure dialog box. To delete an index, simply select it in the list box and click Remove Index.

 
< previous page page_541 next page >